package com.sanben.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sanben.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author cyh
 * @description: 项目发布表实体类
 * @date: 2020-08-11
 */
@Data
@ApiModel(value = "ProjectRelease对象", description = "项目发布表")
@TableName("project_release")
public class ProjectRelease extends BaseEntity {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "需求标题")
    private String title;

    @ApiModelProperty(value = "期望项目工期(天)")
    private Integer period;

    @ApiModelProperty(value = "竞标截止时间")
    private LocalDateTime closingDate;

    @ApiModelProperty(value = "类别Id")
    private String categoryId;

    @ApiModelProperty(value = "分类Id")
    private String classifyId;

    @ApiModelProperty(value = "预算费用")
    private String budget;

    @ApiModelProperty(value = "详细需求")
    private String remarks;

    @ApiModelProperty(value = "联系方式")
    private String mobile;

    @ApiModelProperty("1外包 2驻场")
    private Integer status;
}
